package com.aiti.lulian.service;

import com.aiti.base.core.base.service.BaseService;
import com.aiti.base.core.utils.message.Message;
import com.aiti.lulian.dto.newCard.CardEnterpriseMaterialDto;
import com.aiti.lulian.entity.newCard.CardEnterpriseMaterial;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface CardEnterpriseMaterialService extends BaseService<CardEnterpriseMaterial> {

    Message addOrUpdateEnterpriseMaterial(CardEnterpriseMaterialDto dto);

    List<CardEnterpriseMaterial> getEnterpriseMaterialPage(CardEnterpriseMaterialDto dto, Page<CardEnterpriseMaterial> page);
}
